package com.hh.releasenode.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName SysUserRoleRelationEntity
 * @Description 用户角色关系表
 * @Author KunxianLi
 * Date 2020/6/9 16:02
 * Version 1.0
 **/
@Data
@TableName("tr_sys_user_role")
public class SysUserRoleRelationEntity extends BaseEntity{

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 关联 系统用户表(tm_sys_user) 主键
     **/
    private Long userId;

    /**
     *关联 系统角色表(tm_sys_role) 主键
     **/
    private Long roleId;


}
